-
Notifications
You must be signed in to change notification settings - Fork 158
Allow to customize legend and graph style in TrendingTask #2591
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Allow to customize legend and graph style in TrendingTask #2591
Conversation
knopers8
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you for your contribution.
Please have a look at my suggestions and questions. I am quite surprised by the amount of removed/rephrased comments and refactored code which is not related to the PR. This obfuscated the PR significantly and made the review unnecessarily cumbersome. I strongly advise you to review each changed snippet separately before including it in a commit, git add -p allows you to do that.
|
BTW, please also document the new features at https://github.com/AliceO2Group/QualityControl/blob/master/doc/PostProcessing.md#the-trendingtask-class |
|
@mvishiu11 I have another question. Is there a reason why you are rewording log messages as a part of this PR? It has nothing to do with the features you are implementing and it is making your PR quite polluted and hard to navigate. If you don't agree with the wording create separate PR for that. |
|
Based on comments from @knopers8 and @justonedev1 I have realized that some of my changes related to debugging were left in the code when I created the PR. I did my best to find and correct such cases. Please let me know if you find places where I have missed something. Thank you and sorry for the confusion 🙏 |
|
I rolled back all the changes to ILOGs in 2f42fbc. Please let me know if I missed some, but it should be all of them |
|
The CI checks are not yet enabled because you are a first-time contributor. They will start once I approve the PR. This being said, I can already see that clang-format will fail. Please see https://github.com/AliceO2Group/CodingGuidelines#formatting-tool to know how to format your code accordingly. |
Please bear in mind that each change you propose has to be read and validated by a reviewer. If a change does not concern the goal of a PR, we can only guess the intention. Imagine commits with no messages and how much more time you would need to guess what the commit attempts to achieve. In your PR, there was a lot of changes with unclear intention. I assume that such a review process and some tools are new to you, so I will hold no grudge, but next time, please review the proposed changes yourself first before asking for someone else's time. |
Of course, thank for your patience. I will try to make PRs smaller and more focused and review the changes thoroughly next time. |
knopers8
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I compiled your PR, and played with the settings to confirm everything is fine. I discovered some minor issues with the documentation, otherwise, it behaves as expected. Once my last batch of comments is addressed, I don't expect to have anything more and the PR will be good to go in. Thanks a lot.
|
@afurs , @andreasmolander are you good with the changes to |
Maybe just quickly remove them for clarity, I understood they were included by mistake @mvishiu11 |
Removed in bcadfa3 |
knopers8
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you
Added the following features to allow for better trending customization:
(x1, y1, x2, y2)coordinates as well asnColumnsparameterstylefield. TLDR:lineColor(parameter here is an integer precisely as defined by TColor class),markerColor(as above),markerStyle(integer as defined by TAttMarker class),lineWidth(integer, self-explanatory).Also added an example workflow which uses the new features for FT0 trending (below the snippets within
plotsoption):